import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import FastClick from 'fastclick'
// import VueLazyLoad from 'vue-lazyload'

Vue.config.productionTip = false
// 事件总线定义的，把vue原型的$bus赋值给vue实例
Vue.prototype.$bus=new Vue()

// 解决移动端300毫秒延迟问题
FastClick.attach(document.body)
// 图片懒加载,图片的:src=""换成v-lazy=""
// Vue.use(VueLazyLoad,{loading:require('占位图地址')})

new Vue({
  router,
  store,

  render: h => h(App)
}).$mount('#app')
